Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8648563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:20:32+00:00 2026-06-12T13:20:32+00:00

I have a design question and looking for an efficient design. I want user

  • 0

I have a design question and looking for an efficient design.

I want user of my app to be able to send messages to each other.

I have the following table schema in my mind:

Messages
  + id
  + FromUser :id
  + ToUser : id
  + SendDateTime : Datetime
  + ReadDateTime : Datetime
  + IsRead : bit
  + IsDeleted : bit
  + MessageBody : text

Moreover, I want to implement a notification system, such that, when someone sends me a message, I want a notification to show up on my profile, like SO or facebook style.

I am worried about scalability of this design. One option i was thinking is to store the MessageBody in a separate table and make it lazy.

I m looking for alternative designs or ideas? I have done some research but no extensive info out there.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:20:33+00:00Added an answer on June 12, 2026 at 1:20 pm

    If you want the notifications to update in real time (because it would be cool), have a look at SignalR.

    http://signalr.net

    http://channel9.msdn.com/Shows/Web+Camps+TV/Damian-Edwards-and-David-Fowler-Demonstrate-SignalR

    http://www.codeproject.com/Articles/404662/SignalR-Group-Notifications

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding the design of two tables. Table 1: The main
I have a question about iPhone app design approach... I have in mind to
I have been looking for a neat answer to this design question with no
This a very basic database design/normalisation question. Suppose I have a Books table with
I have a design question. We need to put some default, system defined content
I have a design problem: Question class: have a question and answer (String) TextQuestion
I have a design/best practice question relating to MVC3. I have a front page
This is more of a design question. I have a template class, and I
This is more of a general design question I guess... I have an Ajax
More of a design/conceptual question. At work the decision was made to have our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.