Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mattias Karlsson
@devlead
working like a charm @rofr :+1:
Patrik Svensson
@patriksvensson
@rofr pong :smile:
Robert Friberg
@rofr
lkm
Victor
@vfabregat
@rofr thanks for your email. Nice idea about the move my project to use OrigoDB. I'll do it.
Is the best way to get familiar with a new technology or tool.
Robert Friberg
@rofr
cool, I'd be happy to give you as much guidance as you wish. It's really simple but requires a slightly different way of thinking. just ping me here!
Victor
@vfabregat
Cool, thank you!
Robert Friberg
@rofr
@vfabregat I'd like to have all the information on the web site http://origodb.com and just a pointer to it from the readme. The example projects are on the download page but perhaps not that easy to find. Would you care adding the examples to the web project? It's also a github project using markdown. I run jekyll locally to to preview while authoring web content
Victor
@vfabregat
Ohh, ok. I didn't see the examples in the download page. Maybe a link in the start "Quick start guide" pointing to the examples section in the download page, it may be easier to find.
I can add the examples in the web site. So, please reject the pull request
Robert Friberg
@rofr
Ok, I'm refactoring the web site documentation at the moment and will be releasing in a few days. It's probably easier to add examples after that than merging because a lot of files are moving around.
@vfabregat did you get started with your example project yet?
Victor
@vfabregat
Ok, so I'm going to wait. I start this weekend... I'm doing the upgrade to the newer framework after start with OrigoDB
Robert Friberg
@rofr
@/all lots of new features and improvements happening in dev. GeoSpatial types, Generic models like KeyValueStore and Graph, sql storage in the core lib, a clone of redis, markdown docs in the repo and more!
Robert Friberg
@rofr
DevrexLabs/OrigoDB@15e3c1b
Victor
@vfabregat
@rofr , Origo is not supported for aspnet5 projects?
Robert Friberg
@rofr
I'm not sure. The only dependency is NET Framework 4
Victor
@vfabregat
Ok, because I created an aspnet5 (vNext) project and then I added the OrigoDb package but the VS cannot resolve the reference. I'm going to still trying.
Victor
@vfabregat
Works ok, if the project is compiled in dnx451 and not in dnxcore50, because the package is not available for dnxcore50
Robert Friberg
@rofr
if you figure out what we need to do to support dnxcore50 let me know! Will you be ok using dnx451?
Victor
@vfabregat
Yes, dnx451 its ok for me. In my opinion today its too early to do support to dnxcore because is in a beta, but should be in the future roadmap... again, in my opinion and I can be wrong
I read the documentation and your product seems incredible, i'm going to create a new application to test the funcionality. I'm thinking in a suggestion box hosted in azure, serializing the snapshop to a sql azure
Robert Friberg
@rofr
thanks, if you need any guidance just ask here
Jamie
@idontbyte
Hi guys, i just tried to get started with Origo DB, installed service which is up and running but connection to 127.0.0.1:8088 is refused, tried with telnet, no go. Firewall is off. I'm running Windows 10. Config ip and port are correct. Anything I can try?
Robert Friberg
@rofr
@idontbyte We haven't tested on windows 10 yet. A long shot but try localhost:8088, I've seen issues with bindings in NancyFx before.
Robert Friberg
@rofr
The next step is to try to see some log output. Origo server uses log4net but only outputs to the console. I'm not sure if windows logs output from windows services. Enable logging to file in the log4net section of origo.config ( choose a file name on line 16 and remove the comment on line 47)
But perhaps it would be easier to run origo from the console so you can see the output directly and switch back to service later. We actually run all our origo servers from the console, mostly on windows server 2008.
Jamie
@idontbyte
thanks rofr, the console version works and i can connect. how strange!
Robert Friberg
@rofr
Happy to hear that!
Jamie
@idontbyte
So I happened by chance to find out why it wasnt working, the Windows Service had bound to port 8080 by default - I was surprised to find that instead of my tomcat server I was seeing OrigoDB when visiting 127.0.0.1:8080! Not sure why it's not respecting the config value of 8088.
Jamie
@idontbyte
Would you like me to submit on github?
Robert Friberg
@rofr
Sounds like a bug, please do add an issue.
Robert Friberg
@rofr
@idontbyte Thanks for adding the issue. did you see my comment? Seems like you added an app.config somewhere instead of editing the origo.config file in the scripts folder?
Jamie
@idontbyte
hi, thanks for the comment, i didnt add any files or modify any files. all i did was extract the files and run the install service cmd which created the file itself as far as i can tell.
Yoad Snapir
@yoadsn
Hey Guys, I would like to get some more information regarding the transactional nature of OrigoDB commands. In the documentation, it is mentioned that to be able to perform multiple operations as a single atomic operation the CompositeCommand pattern is used. I wonder, does OrigoDB act as a volatile resource manager? If there is an ambient transaction involving for example a SQL DB and an MSMQ queue, would rolling back this transaction also rollback the changes made to the OrigoDB store?
I assume not, since I can see how every command modifies the data and commits as it ends - But that could be a very large limitation in business applications where transactional consistency across multiple resources is required.
Could you please confirm my thoughts ?
Robert Friberg
@rofr
You assume correct :) OrigoDB does not respect TransactionScope
Robert Friberg
@rofr
If processing messages off a queue I would 1. Grab a message. 2. Issue origodb command 3. acknowledge message if command succeeded
Robert Friberg
@rofr
So yeah, it is a limitation. On the other hand distributed transactions tend to really slow things down. So I usually try some alternative approach, compensating actions or use SAGAS.
@yoadsn so what are you building?
Yoad Snapir
@yoadsn
@rofr, Thank your for your reply. Sorry for my late reply - It was over the weekend.
I'm currently looking at OrigoDB following a .Net Rocks podcast interview I heard. Building line-of-business applications I know the pains of using distributed transactions and the pitfalls of two-phase commits. Still, some flows require transactionality across multiple resource managers and approaches like compensation actions are too complex to implement.
Sometimes the combinatorical complexity is not something one can reason about.
Since I liked the concepts behind VoltDB, wanted to get to know better OrigoDB and see if that could be used for low-latency requirements I come across.
I have been building applications in the Gaming domains and Financial Trading domains.
Thanks again!
Robert Friberg
@rofr
I think you mean the herding code podcast or did I miss a mention on .NET Rocks?
Robert Friberg
@rofr
Currently rollback is implemented as "discard the model and do a full restore". This happens only when a command throws an unexpected exception based on the assumption that the model may have been corrupted.
Robert Friberg
@rofr
It's probably a really bad idea to expose this mechanism in an explicit transactional API. I've toyed with the idea of reversible commands to support explicit begin/commit/rollback
but this would completely block other transactions