Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

about client architecture


  • Please log in to reply
6 replies to this topic

#1 Zein

Zein

  • Pip
  • Title: Member
  • Group: Members
  • 14 posts

Posted 21 May 2012 - 05:19 PM

hello, I'm interested in client architecture, is it sqlite based ? Are there the same data structures as in evernote servers ?
Katatonia - Soil's Song

#2 jefito

jefito

  • Title: Evernote Evangelist
  • Group: Evernote Evangelist
  • 8,143 posts

Posted 21 May 2012 - 05:53 PM

The Evernote clients use different architectures on different devices. I Think its SQLlite on Windows, but it's the file system on Mac. You might want to check out the Evernote Tech Blogs in the developer's section: http://blog.evernote.com/tech/. There's some writing about the server end of things there that might be of interest.
~Jeff
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests
If someone helped you, or you like or agree with someone's post, let them (and us) know by clicking their post's "Like" button.

#3 Zein

Zein

  • Pip
  • Title: Member
  • Group: Members
  • 14 posts

Posted 21 May 2012 - 06:27 PM

I think what is the best solution, which db i can choose - mongodb, couchdb, sqlite or mysql..
Katatonia - Soil's Song

#4 JMichael

JMichael

  • PipPipPipPipPip
  • Title: Explorer
  • Group: Members
  • 1,880 posts

Posted 21 May 2012 - 06:37 PM

The Evernote clients use different architectures on different devices. I Think its SQLlite on Windows, but it's the file system on Mac.


I don't know for sure, but I suspect the Evernote architecture on the Mac is more than just the file system.
I see a large file named "Evernote.sql" on my Mac.
I would guess that the Note metadata is stored in some type of SQL DB, with the Note contents stored as files.

Perhaps someone from Evernote who actually knows the architecture can provide us with the details.

#5 Zein

Zein

  • Pip
  • Title: Member
  • Group: Members
  • 14 posts

Posted 21 May 2012 - 07:06 PM

yes, i think so

There are no filesystem that can be used as db, because they are designed for various purposes.

P.S. in mac probably sqlite or mysql
Katatonia - Soil's Song

#6 SethH

SethH

  • Title: Evernote Employee
  • Group: Evernote Employee
  • 683 posts

Posted 22 May 2012 - 07:42 PM

The object model used by the web service and the main Evernote clients is the same, and it's the same one that you have access to. The Thrift NoteStore module defines the basic types (Note, Notebook, Tag) and the CRUD functions to manipulate them.

Our clients use whatever the most appropriate database for the local platform is, typically SQLite. The schemas aren't necessarily the same, but the overal concepts are. At a minimum, our clients follow our sync spec to keep account metadata synchronized. The desktop clients are fully synchronized, keeping both metdata and all content in sync. Most of the mobile clients allow you to perform partial sync if you have a premium account, fully synchronizing specific notebooks.

#7 Zein

Zein

  • Pip
  • Title: Member
  • Group: Members
  • 14 posts

Posted 24 May 2012 - 06:21 PM

Our clients use whatever the most appropriate database for the local platform is, typically SQLite. The schemas aren't necessarily the same, but the overal concepts are.

this is very important for me, thanks
Katatonia - Soil's Song




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote