Store ordered list in database (Gap approach)

后端 未结 3 1871
孤独总比滥情好
孤独总比滥情好 2021-02-08 16:14

I want to keep a large ordered list (millions of elements) in Google App Engine datastore. Fast insertion is required.

The simplest way would be adding an indexed proper

3条回答
  •  猫巷女王i
    2021-02-08 16:46

    You probably want to consider using app-engine-ranklist, which uses a tree-based structure to maintain a rank order in the datastore.

    Or, if you can describe your requirements in more detail, maybe we can suggest an alternative that involves less overhead.

提交回复
热议问题