How would one make Python objects persistent in a web-app?

前端 未结 6 539
夕颜
夕颜 2021-02-06 11:27

I\'m writing a reasonably complex web application. The Python backend runs an algorithm whose state depends on data stored in several interrelated database tables which does not

6条回答
  •  太阳男子
    2021-02-06 12:20

    Another option is to review the requirement for state, it sounds like if the serialisation is the bottle neck then the object is very large. Do you really need an object that large?

    I know in the Stackoverflow podcast 27 the reddit guys discuss what they use for state, so that maybe useful to listen to.

提交回复
热议问题