Commit Graph

240 Commits

Author SHA1 Message Date
ZongyueQin ec07a520e9 Update IVTree.cpp
Add a function to load Vlist's cache
2017-07-15 11:04:11 +08:00
ZongyueQin c72abfb718 Add Vlist's cache
Add a function to load Vlist's cache
2017-07-15 10:54:57 +08:00
ZongyueQin 5080c46ebd Add Vlist's cache
Add functions to load Vlist's cache
2017-07-15 10:53:25 +08:00
ZongyueQin 35e61483df Add Vlist's cache
Add functions to load Vlist Cache
2017-07-15 10:50:11 +08:00
ZongyueQin c5a3f979fc add cache for Vlist
Add functions and members to load cache of Vlist
2017-07-15 10:47:45 +08:00
ZongyueQin a641c2a500 Add cache for Vlist
Add functions and members to load cache of Vlist
2017-07-15 10:45:44 +08:00
ZongyueQin 32020bdaca Add cache for Vlist
Add functions and members used to add cache for Vlist
2017-07-15 10:38:59 +08:00
ZongyueQin 47c41670a7 add cache for vlist
add cache for vlist
2017-07-15 10:19:29 +08:00
ZongyueQin e8f3eb8243 Add cache for vlist
Add membets and funcions used for cache of vlist
2017-07-15 10:12:12 +08:00
ZongyueQin 0cd6b75026 Create ClassForVlistCache.h
Add class KEY_SIZE_VALUE, used in database.cpp to find important subIDs and objIDs.
Add class Longlist_inMem, used in Vlist as cache
2017-07-15 10:08:43 +08:00
bookug 9ca106ca7e refactor: merge code of chenjiaqi;
implement Bind and GroupBy in SPARQL;

by zengli
2017-07-14 16:42:47 +08:00
bookug a2cce262ad fix: lack of delete[] in KVstore.cpp 2017-07-13 13:51:50 +08:00
bookug ae5e610acc fix: bug in KVstore and Join;
mess code in KVstore due to read after request() release the pointer;
lack of empty judgement in Join::pre_handler;

by zengli
2017-07-12 20:33:44 +08:00
bookug 09a30931d4 refactor: use KVstore as filter instead of VSTree;
mmeory is saved, as well as stablity;
TODO: deal with pre var,a nd consider multiple same pres;

by hulin
2017-07-02 21:39:35 +08:00
bookug 556edb1b49 feat: add gserver utility to ghttp;
improve the stablity of ghttp;

by wanglibo
2017-07-02 19:48:27 +08:00
bookug 17e0ff2b46 fix: set READ_WRITE as default database mode
choose to set or not: ONLY_READ in Util.h
if used as sparql endpoint, set it to save memory;
otherwise, not set it to support insert/delete;

by zengli
2017-06-26 21:47:32 +08:00
bookug 61a28de125 feat: move old api to api/socket and add new api in api/http;
old api is mjust for socket(bin/gserver), new api support HTTP(bin/ghttp)
only java is well dealed in new api, other languages waiting

by zengli
2017-06-23 16:26:28 +08:00
bookug b6296edb9c fix: client and server 2017-06-22 12:55:10 +08:00
bookug a1ed886364 refactor(small): change default port of ghttp from 8080 to 9000
change default port; add infos of structure to kvstore;

by zengli
2017-06-19 14:10:11 +08:00
bookug ab9e6e9b45 feat: add java api, waiting for python and php 2017-06-16 13:45:52 +08:00
bookug 29505b6ec2 feat: add cpp example for http 2017-06-15 23:33:24 +08:00
bookug 670093e42a feat: add monitor for Http server
not finished, just a start

by zengli, no changes to others
2017-06-15 21:22:03 +08:00
bookug 38575b16e6 fix: forbid vlist cache 2017-06-13 15:24:00 +08:00
bookug fa147526f1 feat: use multithreading to load;
fix type bugs in string index;

by zengli
2017-06-06 18:56:46 +08:00
bookug 886ca8512d refactor: add config 2017-06-05 14:25:42 +08:00
bookug 1c8821fe35 refactor: not ouput result on screen 2017-05-25 16:00:39 +08:00
bookug c1825bc6d9 docs: usage 2017-05-22 23:21:55 +08:00
bookug 32f1718bcf docs: add boost requirement 2017-05-19 23:31:48 +08:00
bookug 9903c3d5cb refactor: adjust vlist and merge signature;
add cache for VList;
use binding in Signature;

by zengli and qinzongyue
2017-05-19 23:05:38 +08:00
bookug c11088ee3e feat: merge wlb branch;
support backup in gserver but not in HttpConnector;

by zengli
2017-05-18 23:27:58 +08:00
bookug 77499f990e feat: merge http branch 2017-05-18 22:56:41 +08:00
bookug 25e1c3ed10 feat: merge type branch;
value branch has already been merged into type;

by zengli
2017-05-18 22:35:22 +08:00
bookug 3f2375dd85 refactor: add comments 2017-05-18 22:08:06 +08:00
bookug 405bb21a9a fix: bugs with ISTree and KVstore;
virtual functions not matched in ISTree;
unsigned type matching error in KVstore;

both fixed, by zengli
2017-05-18 14:42:48 +08:00
bookug d1d85deaa2 fix: no bug with htto now;
modify in makefile to use boost::regex always;

by zengli
2017-05-17 20:50:23 +08:00
bookug f3202ada40 refactor: merge type and value branch;
TODO: bug exists with ISTree;

by zengli
2017-05-17 20:46:02 +08:00
bookug fb0cd3cff6 feat: add http support;
with bugs due to boost version; start with bin/HttpConnector;

by lvxin
2017-05-16 21:27:20 +08:00
bookug 3bca240151 feat: add http branch 2017-05-16 21:16:40 +08:00
bookug a72592e588 docs: subtle change 2017-04-23 16:49:45 +08:00
bookug a0e470727c refactor: to use hash instead of sort for candidates in Join
by zengli
2017-04-13 20:01:17 +08:00
bookug a33642226c fix: gserver
by wanglibo
2017-04-12 13:26:51 +08:00
bookug 2da666757d feat: add recovery function
if load a db and quit on accidents, you can start the gconsole in native mode on the db server,
and use restore command to recover to teh latest db (backup function will be auto started when you connect to gserver and load
a db)
in addition, gserver stablity is improved to deal with query fails

by wanglibo, no modifications to others
2017-04-11 15:26:35 +08:00
bookug 9d760ed643 refactor: use different lrucache size for build and query
by zengli, no influence on others
2017-04-06 23:48:45 +08:00
bookug 2c5ef57fe4 fix: DEBUG_VSTREE error
caused by #define DEBUG - Util util

by zengli
2017-04-02 22:04:55 +08:00
bookug 6f49685360 docs: update NOTES 2017-04-02 21:20:11 +08:00
bookug 58501a97fe refactor: change VList border from 1000 to 1000000
1000 is just for test with lubm or bbug, 1000000 is for real case

by zengli, no changes to other modules
2017-04-01 16:08:52 +08:00
bookug 80080d1bca refactor: add VList for IVTree
also, lower the copy cost in KVstore

by zengli, all changes closed in KVstore, using new/delete for all instead of malloc/free
2017-04-01 16:03:05 +08:00
bookug ceff3544ae refactor: add value list for IVTree; lower the copy cost of string
not done, waiting to be debugged

by zengli, long list must be cleared after got, no changes besides KVstore
2017-03-31 00:23:16 +08:00
bookug 939e84c8bf refactor: to add long list value
TODO: vlist support and IVLeafNode

by zengli, long list need to be freed each time
2017-03-29 23:57:09 +08:00
bookug 2f7a7a8b69 refactor: move id_tuples to disk in build
to run large datasets like freebase

by zengli, no changes to others
2017-03-29 13:48:39 +08:00