Find Jobs
Hire Freelancers

construct an efficient news service

$30-5000 USD

已取消
已发布超过 20 年前

$30-5000 USD

货到付款
Using C language. Construct a reliable and efficient news service for users over a network of computers (with only one news group). The service: ------------ Every user can connect via a news client to any one of replicated servers. The news service provides the following capabilities: 1. Login as a user. The GUI-based client mrn needs to login with a user to perform any of the tasks below. You should allow the client to login as a new user as part of the menu by specifying the user name. 2. Connecting to a server. The client needs to connect to a server to perform any of the tasks below. You should allow the client to change its server as part of the menu, by specifying the server index. At any point, the client may be connected to one server only. To connect to a server, all a client needs to do is to set this server as its serving server. 3. View list of headers of available messages (The service should distinguish between messages that were already read by this user, and unread messages): The view should include the user name, the responding server index and list of message headers. The headers in the list will be numbered (1, 2, 3, ...) the header should contain a subject and author. Each request for a view should result in the most updated information possible. 4. Post a message: subject: The size of the msg string can be bounded to 1000 bytes. 5. Delete a message (read or unread): Will allow to delete a message from this user's view only, by its number or by pointing on it. 6. Read a message (read or unread): Will allow the user to retrieve the content of a message by its number. The message should be marked as read for this user thereafter. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). 4)Summary ------- 4-1) The News Servers: ----------------- The news client connects to one of the server processes. Each of the server processes is a background daemon. The server may crash and may subsequently recover. The overall set of servers is not fixed. A server is started with its id as a parameter with the command mserver[1-5]. The users must always receive a consistent view of the single news group, regardless of which server is consulted (of course, as consistent as possible, according to the network connectivity). The view should be consistent as to which messages are available, have been read or deleted by this user. Each server should save information separately on disk. A news message should be expired by the system 300 seconds after its creation. After expiration, the message should not be available for users. At some point after expiration, the message should be deleted without trace to it in the system's data structures (garbage collection). Crashes of the servers and clients should be managed by a separate program mcrash pid. A crashed server exits the program immediately! it is not legal to write to disk after a server receives a kill signal. When a server crashes, clients connected to that server will report the loss of connection to the user, so that the user can connect to another server and continue posting/receiving messages. The users are not known beforehand, and their number is not bounded. These are 3 programs: The client mrn The server mserver the crasher mcrash 4-2 Requirements ------------ - System produces correct results for all inputs, except those specificly listed as not required. Deliverables: ------------- 1. Source files (.c not the stubs) and any .h isn't automatically generated by the rpcgen. 2. A listing of execution. 3. Final report. 5) everything is described above, but i do need this program ASAP, with all the requirements, today ## Platform i need the program to be tested in all envirements
项目 ID: 3020890

关于此项目

远程项目
活跃15 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED STATES的国旗
United States
0.0
0
会员自11月 28, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。