Commit Graph

108 Commits

Author SHA1 Message Date
Dominik Tomičević
80aa247dee refactoring a bit 2015-10-17 13:26:07 +02:00
Dominik Tomičević
7dcb23fa72 modified rapidjson middleware 2015-10-17 12:53:46 +02:00
Dominik Tomičević
3dae70ec3d added rapidjson submodule to json 2015-10-17 12:46:38 +02:00
Dominik Tomičević
c9a8e74194 Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph:
  rapidjson middleware small modification
  RapidJSON as dependency. rapidjson_middleware is responsible for parsing http::request::body into speedy::request::json
2015-10-16 13:19:46 +02:00
Dominik Tomičević
c91f047cfb const other in copy constructor of speedy 2015-10-16 13:19:26 +02:00
Marko Budiselic
634c44c724 rapidjson middleware small modification 2015-10-16 00:34:02 +02:00
Marko Budiselic
670efadc98 RapidJSON as dependency. rapidjson_middleware is responsible for parsing http::request::body into speedy::request::json 2015-10-16 00:21:26 +02:00
Dominik Tomičević
e71d302251 added a simple middleware implementation 2015-10-13 23:01:20 +02:00
Dominik Tomičević
6dd0e9cb0c fixed writing to json 2015-10-13 20:44:14 +02:00
Dominik Tomičević
be9e115339 ooops fix, it's buildable now 2015-10-13 20:32:54 +02:00
Dominik Tomičević
6930b27d1f updated properties 2015-10-13 20:17:45 +02:00
Dominik Tomičević
0effba90d9 removed include.hpp 2015-10-11 21:02:42 +02:00
Dominik Tomičević
14594e799b added gitignore for include.hpp 2015-10-11 21:02:22 +02:00
Dominik Tomičević
768ad5e451 connected the first working version of memgraph 2015-10-11 20:59:27 +02:00
Dominik Tomičević
9f8761032f refactored speedy and http server 2015-10-09 01:24:12 +02:00
Dominik Tomičević
9f943917ce updated r3 2015-10-08 10:46:45 +02:00
Dominik Tomičević
81443de27a removed speedy.inl 2015-10-08 01:00:15 +02:00
Dominik Tomičević
204fdaeb5f submitted all work done on storage and mvcc 2015-10-08 00:58:29 +02:00
Dominik Tomičević
ed34e47481 added comments to the resource class 2015-10-07 20:39:41 +02:00
Dominik Tomičević
dcfc62c7b0 implemented restful resources 2015-10-07 18:45:30 +02:00
Dominik Tomičević
71dad5a6af fixed speedy 2015-10-07 02:24:21 +02:00
Dominik Tomičević
61241ba039 reformatted some very indented code 2015-10-06 23:44:48 +02:00
Dominik Tomičević
5870ea9b0b moved log formating to worker side instead of the caller 2015-10-06 23:41:17 +02:00
Dominik Tomičević
f8456ba736 added logger to logging ifrastructure 2015-10-06 23:17:21 +02:00
Dominik Tomičević
1ec41f2171 implemented a simple asynchronous logging infrastructure 2015-10-06 23:15:48 +02:00
Dominik Tomičević
b551ab7f27 fixed mpsc queue 2015-10-06 21:02:47 +02:00
Dominik Tomičević
cebcf7cc09 implemented a wait free mpsc queue 2015-10-05 23:24:38 +02:00
Dominik Tomičević
39ff11a883 updated ioc to support existing instances 2015-10-04 10:04:42 +02:00
Dominik Tomičević
571d6ea541 merged speedy makefile 2015-10-04 09:50:31 +02:00
Dominik Tomičević
5754f0e7ec modified makefile for speedy 2015-10-04 09:49:12 +02:00
Dominik Tomičević
4c869171b3 implemented a simple ioc container 2015-10-04 09:47:55 +02:00
Dominik Tomičević
49dc08b9b3 moved transactions back to threading 2015-10-04 09:47:15 +02:00
buda
ed3a82ee01 lockfree hashmap minor modification (at instead of operator[]) 2015-10-03 21:02:51 +02:00
buda
7e846b4dc0 initial version of lockfree::HashMap, methods operator[] and put are for now in the interface 2015-10-03 08:07:55 +02:00
buda
44c9585602 basic test on dynamic bitset 2015-09-27 23:05:04 +02:00
buda
c155b7b77b added *.swp and *.swo to the root git ignore 2015-09-27 18:28:36 +02:00
buda
01136cb50c speedy doxygen example 2015-09-27 13:18:50 +02:00
buda
96fc1d1d19 speedy dependency and build modifications 2015-09-26 01:01:25 +02:00
Dominik Tomičević
b8fa8fd904 added r3 as a submodule 2015-09-25 22:50:57 +02:00
Dominik Tomičević
a778a72dce Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph:
  stupid mistakes are changed
2015-09-25 02:52:44 +02:00
Dominik Tomičević
481b681bcd fixed dynamic bitset 2015-09-25 02:52:01 +02:00
buda
e860c40dff Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph 2015-09-24 23:25:48 +02:00
buda
fe5b89b1e6 stupid mistakes are changed 2015-09-24 23:25:40 +02:00
Dominik Tomičević
2727c26eb5 implemented a lock free and (almost) wait free bitset 2015-09-24 18:36:16 +02:00
Dominik Tomičević
43e975d3cc Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph:
  speedy: first let say usefull implementation, GET, POST, PUT, DELETE methods are implemented
  r3 library is included, route registration still doesn't work because of some reference issue, TODO: do a better implementation
2015-09-24 01:14:05 +02:00
Dominik Tomičević
ec9af001d6 lock free linked list implementation 2015-09-24 01:14:00 +02:00
buda
474492ddad speedy: first let say usefull implementation, GET, POST, PUT, DELETE methods are implemented 2015-09-24 01:00:02 +02:00
Dominik Tomičević
38ec6a10b1 implemented a lockfree list
Summary: It's not the fastest for all operations but it's efficient on inserts to front and list traversals. removes are quite slow but it's not important because remove is only used by the garbage collector.

Test Plan: Reason wisely

Reviewers: buda, borko

Differential Revision: https://phabricator.tomicevic.com/D1
2015-09-22 01:13:42 +02:00
Dominik Tomičević
9ae14c36c8 added arcconfig 2015-09-22 01:05:54 +02:00
Dominik Tomičević
83690e7269 implemented a lockfree list 2015-09-22 01:04:13 +02:00