using in-memory data-structures -



using in-memory data-structures -

i have client requirement of not utilize rdbms, instead using in-memory data-structures if server restarted application state revert lastly state saved.

i don't have thought of using in-memory info , used work mysql ,but not in memory if please guide me bit , tutorial or something

below examples ...

public object save(object object, class c) { database.ofy().put(object); homecoming object; } public void delete(long id, class c) { database.ofy().delete(c, id); } public object findbyid(string id, class c) { homecoming database.ofy().find(c, id); } public iterable<object> findall(class c) { iterable<object> models = database.ofy().query(c).fetch(); homecoming models; }

}

thanks

you can utilize sqlite, has hooks lot of languages.

the default utilize sqlite file-based, can used in-memory.

in-memory-database

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -