News for hackers. Stuff that matters.
Re:Eventually Consistent: How to Make a Mobile-First Distrib... by mjewkes on Thursday January 19, 2017 @03:02PM (#13439007)
The C# documentation is quite clear: https://realm.io/docs/xamarin/latest/

  var puppies = realm.All<Dog>().Where(d => d.Age < 2);
The LINQ integration is appreciated.

  // Update and persist objects with a thread-safe transaction
  realm.Write(() => 
  {
      realm.Add(new Dog { Name = "Rex", Age = 1 });
  });

  // Queries are updated in realtime
  puppies.Count(); // => 1
I'm assuming that "updated in realtime" means "realm.Write is a blocking operation", correct?
Re:Eventually Consistent: How to Make a Mobile-First Distrib... by brmunk on Thursday January 19, 2017 @03:16PM (#13439120)
Absolutely right. Only one writer at a time (locally), but writers don't block readers of which you can have multiple due to the MVCC design.